<template>
    <div class="page">
        login
    </div>
</template>
  
<script setup>
import { ref, onMounted, getCurrentInstance } from 'vue'
const instance = getCurrentInstance();


onMounted(() => {
    // 调用 map指令  指令名login
    instance.emit('mapCmder', 'login')
})

</script>
  
<style>
.page{
    color: #ffffff;
}
</style>
  